package fish.web.dao.user;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import fish.web.modal.User;

public class UserDaoImpl extends JdbcDaoSupport implements UserDao {

    @Override
    public long addUser(User user) {
	getJdbcTemplate().update("insert into t_user(name) values(?)", user.getName());
	
	return 0;
    }
}
